package com.HMI;

@SuppressWarnings("serial")
public class ChlorineWindow extends GraphWindow {

	public ChlorineWindow(int x, int y, int width, int height) {
		super(x, y, width, height);
		labelTopRow("Next shock:");
		labelBottomRow("Cl remaining:");
		setTopRowValue("Mar 15, 12:30 AM");
		setBottomRowValue("sufficient");
		addGraph("com/Resources/chlorine_graph.png");
	}
	
	public void setChlorineLevel(float level) {
		setTopRowValue("" + level + " ppm");
	}
	
	public void setTankStatus(String status) {
		setBottomRowValue(status);
	}
	
	public void updateXaxis() {
		updateXaxisTimeLabels();
	}
	
}
